package com.example.mymvvmdemo.models.user_info;

import android.app.Activity;
import android.content.Intent;

import androidx.activity.result.ActivityResultLauncher;

import com.example.mymvvmdemo.base.BaseViewModel;
import com.example.mymvvmdemo.models.add_article.entity.AddArticleEntity;
import com.example.mymvvmdemo.models.bind_email.BindEmailActivity;
import com.example.mymvvmdemo.models.change_password.ChangePasswordActivity;

import java.util.ArrayList;

public class UserInfoViewModel extends BaseViewModel {

    public ActivityResultLauncher<String> requestPermissionLauncher;
    public ActivityResultLauncher<Intent> galleryLauncher;
    public String fileUrl;

    public String bio;
    public String location;
    public String birthday;
    public String nickname;
    public String website;
    public String email;
    public String phone;


    public void startChangePassWordActivity(Activity activity) {
        ChangePasswordActivity.startChangePasswordActivity(activity);
    }

    public void startBindEmailActivity(Activity activity, int flag) {
        BindEmailActivity.startBindEmailActivity(activity, flag);
    }

}
